{include file="header.html"}
<div> 
{include file='tgyuan/nav.html'}
{get data=sclist model=site_city fun=siteList()}
 <table class='table table-bordered' width='100%'>
  <tr>
   <td>id</td>
   <td>名称</td>
   
   <td>状态</td>
  
 
   <td>电话</td>
   <td>昵称</td>
   
   <td>金额</td>
<td>操作</td>
  </tr>
 {foreach item=c from=$data}
<tr>
   <td>{$c.id}</td>
   <td>{$c.title}</td>
   
   <td>{if $c.status eq 2}开业{else}关闭{/if}</td>
   
 
   <td>{$c.telephone}</td>
   <td>{$c.nickname}</td>
   
   <td>{$c.money}</td>
<td><a href="{$appadmin}?m=tgyuan&a=add&id={$c.id}">编辑</a> 
 
<a href="{$appadmin}?m=tgyuan_admin&shopid={$c.id}">管理员</a>
<a href="{$appadmin}?m=tgyuan_area&tgyid={$c.id}">楼栋授权</a>
<a href="javascript:;" class="delete" url="{$appadmin}?m=tgyuan&a=delete&id={$c.id}">删除</a></td>
  </tr>
   {/foreach}
 </table>
<div>{$pagelist}</div>
</div> 
{include file="footer.html"}